<?php
namespace TennisTournament\Service;

use TennisTournament\Model\Group;

interface CommonService {

    /*
     * Sorted {@link GroupStats} into there.</br>
     * First will be sort the {@Player} with most points.</br>
     * After this will be sort the {@Player} with most positive difference,
     * between takenPoints and getPoints.
     * @return array
     */
    public function sortGroupStats(Group& $group);

}